import {defineStore} from 'pinia'
import {ref} from 'vue'
export  const TeacherStore=defineStore('TeacherStore',()=>{

    // 存id
const Teaid:any=ref();

// 教师详情页进来的数据
const TeacherData=[{
     image:'',
     name:'',
     positive:'',                  //好评率
     stuNum:'',                  //学生数
     label:'',                 //标签
     synopsis:'',            //简介
     introduce:''             //介绍
}];

// 最新发布
const NewOpen=[
    {
                img:'',
                className:'',
                price: '',
                enlistsNum:'',      //报名人数
                recentNum:'',        //学习人数
                createTime:''          
            },
];

// 主页下的课程合集
const arrClass=[{
    thematicImg:'',
    thematicName:''
}];

// Ta的合集课程下的Ta的课程
const MoreClass=[{
    className:'',
    img:'',
    price:'',
    teacherName:'',
    enlistsNum:'',

}]




return {Teaid,TeacherData,NewOpen,arrClass,MoreClass}
    
})

